using UnityEngine;
using System.Collections;

public class Wizard : Personnage
{

    private Texture2D image;

    public Texture2D Image
    {
        get { return image; }
    }
	
    public Wizard(int id, string nom, int health, int shield, int ressource, Spells CurrentSpell, Texture2D image)
        : base(id, nom, health, shield, ressource, CurrentSpell)
    {
        this.image = image;
    }
	public override void EndRound(){
		nbRessource = nbRessource +70;
		if(nbRessource>100){
			nbRessource=100;
		}
		Debug.LogWarning("+70 MANA pour le wizard a la fin du Round !!! Il se retrouve a "+this.nbRessource+" de mana.");
	}
}